package com.ruoyi.supervise.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.supervise.mapper.ConsturctionChangeInfoListMapper;
import com.ruoyi.supervise.domain.ConsturctionChangeInfoList;
import com.ruoyi.supervise.service.IConsturctionChangeInfoListService;
import com.ruoyi.common.core.text.Convert;

/**
 * 施工许可证修改记录列Service业务层处理
 * 
 * @author wtj
 * @date 2019-10-15
 */
@Service
public class ConsturctionChangeInfoListServiceImpl implements IConsturctionChangeInfoListService 
{
    @Autowired
    private ConsturctionChangeInfoListMapper consturctionChangeInfoListMapper;

    /**
     * 查询施工许可证修改记录列
     * 
     * @param modifiedpersonloginname 施工许可证修改记录列ID
     * @return 施工许可证修改记录列
     */
    @Override
    public ConsturctionChangeInfoList selectConsturctionChangeInfoListById(String modifiedpersonloginname)
    {
        return consturctionChangeInfoListMapper.selectConsturctionChangeInfoListById(modifiedpersonloginname);
    }

    /**
     * 查询施工许可证修改记录列列表
     * 
     * @param consturctionChangeInfoList 施工许可证修改记录列
     * @return 施工许可证修改记录列
     */
    @Override
    public List<ConsturctionChangeInfoList> selectConsturctionChangeInfoListList(ConsturctionChangeInfoList consturctionChangeInfoList)
    {
        return consturctionChangeInfoListMapper.selectConsturctionChangeInfoListList(consturctionChangeInfoList);
    }

    /**
     * 新增施工许可证修改记录列
     * 
     * @param consturctionChangeInfoList 施工许可证修改记录列
     * @return 结果
     */
    @Override
    public int insertConsturctionChangeInfoList(ConsturctionChangeInfoList consturctionChangeInfoList)
    {
        return consturctionChangeInfoListMapper.insertConsturctionChangeInfoList(consturctionChangeInfoList);
    }

    /**
     * 修改施工许可证修改记录列
     * 
     * @param consturctionChangeInfoList 施工许可证修改记录列
     * @return 结果
     */
    @Override
    public int updateConsturctionChangeInfoList(ConsturctionChangeInfoList consturctionChangeInfoList)
    {
        return consturctionChangeInfoListMapper.updateConsturctionChangeInfoList(consturctionChangeInfoList);
    }

    /**
     * 删除施工许可证修改记录列对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteConsturctionChangeInfoListByIds(String ids)
    {
        return consturctionChangeInfoListMapper.deleteConsturctionChangeInfoListByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除施工许可证修改记录列信息
     * 
     * @param modifiedpersonloginname 施工许可证修改记录列ID
     * @return 结果
     */
    public int deleteConsturctionChangeInfoListById(String modifiedpersonloginname)
    {
        return consturctionChangeInfoListMapper.deleteConsturctionChangeInfoListById(modifiedpersonloginname);
    }
}
